package com.gc.server.enums;

import lombok.Getter;


/**
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Jul 07 16:36:56 CST 2020
 */
@Getter
public enum BannerTypeEnum {


                   H5(0,"公众号")
                                    ,
                
            
                   WX(1,"小程序");


            
        
        int index;
        String value;

    BannerTypeEnum(int index,String value) {
        this.index = index;
        this.value = value;
        }

    public static String indexOf(int idx) {
        return BannerTypeEnum.values()[idx].getValue();
    }

}
